<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0064)http://www.lechateau.com/style/html/slider/bnrnew/womens-en.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Le Château Home</title>

<style type="text/css">
body {
	margin: 0; padding: 0;
}
*{outline: none;}
img {border: 0;}
.container {
	width: 786px;
	padding: 0;
}
.folio_block {
	position: absolute;
}


/*--Main Container--*/
.main_view {
	float: left;
	position: relative;
}
/*--Window/Masking Styles--*/
.window {
	height:410px;	width: 786px;
	overflow: hidden; /*--Hides anything outside of the set width/height--*/
	position: relative;
	background: url('assets/images/loader.gif') no-repeat center center;
	border: 0px solid #cccccc;
}
.image_reel {
	position: absolute;
	top: 0; left: 0;
}
.image_reel .slide-content {float: left; display:block; width:786px; height:425px; position:relative;}
.image_reel .slide-content > img { position:absolute; top:0; left:0; z-index:10; }
.image_reel .slide-content .overlay { position:absolute; top:0; left:0; z-index:20; }

.image_reel .slide.one .shop {
	display:block;
	width:120px;
	height:24px;
	background:url(assets/images/en/slide1-btn.png) 0 0 no-repeat;
	text-decoration:none;
	text-indent:-9999px;
	overflow:hidden;
	position:absolute;
	left:220px;
	top:296px;
}
.image_reel .slide.one .shop:hover { background-position:0 -24px; }

.image_reel .slide.two .shop {
	display:block;
	width:200px;
	height:24px;
	background:url(assets/images/en/slide2-btn.png) 0 0 no-repeat;
	text-decoration:none;
	text-indent:-9999px;
	overflow:hidden;
	position:absolute;
	left:532px;
	top:400px;
}
.image_reel .slide.two .shop:hover { background-position:0 -24px; }

.image_reel .slide.three .shop-w {
	display:block;
	width:190px;
	height:26px;
	background:url(assets/images/en/slide3-btn-a.png) 0 0 no-repeat;
	text-decoration:none;
	text-indent:-9999px;
	overflow:hidden;
	position:absolute;
	left:625px;
	top:229px;
}
.image_reel .slide.three .shop-w:hover { background-position:0 -26px; }

.image_reel .slide.three .shop-m {
	display:block;
	width:196px;
	height:26px;
	background:url(assets/images/en/slide3-btn-b.png) 0 0 no-repeat;
	text-decoration:none;
	text-indent:-9999px;
	overflow:hidden;
	position:absolute;
	left:677px;
	top:394px;
}
.image_reel .slide.three .shop-m:hover { background-position:0 -26px; }

/*--Paging Styles--*/
.paging {
	position: absolute;
	top: 410px; right:0;
	width: 178px; height:47px;
	z-index: 100; /*--Assures the paging stays on the top layer--*/
	text-align: center;
	line-height: 40px;
	background: url(paging_bg2.png) no-repeat;
	display: none; /*--Hidden by default, will be later shown with jQuery--*/
}
.paging a {
	text-decoration: none;
	display: block; width: 22px; height: 22px; text-indent: -9999px; position: absolute; z-index: 400;
}/*
.paging a.p1 { right: 492px; top: 0; background: url('assets/images/en/a1.png') no-repeat 0 0; }
.paging a.p2 { right: 470px; top: 0; background: url('assets/images/en/a2.png') no-repeat 0 0; }
.paging a.p3 { right: 448px; top: 0; background: url('assets/images/en/a3.png') no-repeat 0 0; }
.paging a.p4 { right: 426px; top: 0; background: url('assets/images/en/a3.png') no-repeat 0 0; }
.paging a.p5 { right: 404px; top: 0; background: url('assets/images/en/a3.png') no-repeat 0 0; }
*/
.paging a.p1 { right: 437px; top: 0; background: url('assets/images/en/a1.png') no-repeat 0 0; }
.paging a.p2 { right: 415px; top: 0; background: url('assets/images/en/a2.png') no-repeat 0 0; }
.paging a.p3 { right: 393px; top: 0; background: url('assets/images/en/a3.png') no-repeat 0 0; }
.paging a.p4 { right: 371px; top: 0; background: url('assets/images/en/a3.png') no-repeat 0 0; }



/*.paging a.p1 { right: 459px; top: 0; background: url('assets/images/en/a1.png') no-repeat 0 0; }
.paging a.p2 { right: 437px; top: 0; background: url('assets/images/en/a2.png') no-repeat 0 0; }*/


.paging a:hover,
.paging a.active { background-position:0 -22px; }

</style>

</head>

<body>


<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {

	//Set Default State of each portfolio piece
	$(".paging").show();
	$(".paging a:first").addClass("active");
	setTimeout(function(){
		$(".slide-content .overlay").fadeIn(500);
	  }, 200 );
		
	//Get size of images, how many there are, then determin the size of the image reel.
	var imageWidth = $(".window").width();
	var imageSum = $(".image_reel img").size();
	var imageReelWidth = imageWidth * imageSum;
	
	//Adjust the image reel to its new size
	$(".image_reel").css({'width' : imageReelWidth});
	
	//Paging + Slider Function
	rotate = function(){	
		var triggerID = $active.attr("rel") - 1; //Get number of times to slide
		var image_reelPosition = triggerID * imageWidth; //Determines the distance the image reel needs to slide

		$(".paging a").removeClass('active'); //Remove all active class
		$active.addClass('active'); //Add active class (the $active is declared in the rotateSwitch function)
		
		//Slider Animation
		$(".image_reel").animate({ 
			left: -image_reelPosition
		}, 500 );
		$(".slide-content .overlay").hide();
		setTimeout(function(){
			$(".slide-content .overlay").fadeIn(500);
		  }, 700 );
		
	}; 
	
	//Rotation + Timing Event
	rotateSwitch = function(){		
		play = setInterval(function(){ //Set timer - this will repeat itself every 3 seconds
			$active = $('.paging a.active').next();
			if ( $active.length === 0) { //If paging reaches the end...
				$active = $('.paging a:first'); //go back to first
			}
			rotate(); //Trigger the paging and slider function
		}, 6000); //Timer speed in milliseconds (6 seconds)
	};
	
	rotateSwitch(); //Run function on launch
	
	//On Hover
	$(".image_reel a").hover(function() {
		clearInterval(play); //Stop the rotation
	}, function() {
		rotateSwitch(); //Resume rotation
	});	
	
	//On Click
	$(".paging a").click(function() {	
		$(".paging a").removeClass('active'); //Remove all active class
		$active = $(this); //Activate the clicked paging
		//Reset Timer
		clearInterval(play); //Stop the rotation
		rotate(); //Trigger rotation immediately
		rotateSwitch(); // Resume rotation
		return false; //Prevent browser jump to link anchor
	});	
	
});
</script>



</body></html>